<!--$Id: xa.so,v 11.7 2000/03/18 21:43:21 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB Reference Guide: Release 3.0: db_xa_open</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
</head>
<body bgcolor=white>
<table width="100%"><tr valign=top>
<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td>
<td align=right><a href="../upgrade.3.0/open.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.3.0/db.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p align=center><b>Release 3.0: db_xa_open</b></p>
<p>The following change applies only to applications using Berkeley DB as an XA
Resource Manager.  If your application is not using Berkeley DB in this way,
you can ignore this change.</p>
<p>The db_xa_open function has been replaced with the <a href="../../api_c/db_class.html#DB_XA_CREATE">DB_XA_CREATE</a>
flag to the <a href="../../api_c/db_class.html">db_create</a> function.  All calls to db_xa_open should
be replaced with calls to <a href="../../api_c/db_class.html">db_create</a> with the <a href="../../api_c/db_class.html#DB_XA_CREATE">DB_XA_CREATE</a>
flag set, followed by a call to the <a href="../../api_c/db_open.html">DB-&gt;open</a> function.</p>
<p>A similar change has been made for the C++ API, where the
<a href="../../api_c/db_class.html#DB_XA_CREATE">DB_XA_CREATE</a> flag should be specified to the Db constructor. All
calls to the Db::xa_open method should be replaced with the
<a href="../../api_c/db_class.html#DB_XA_CREATE">DB_XA_CREATE</a> flag to the Db constructor, followed by a call to
the DB::open method.</p>
<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.3.0/open.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.3.0/db.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
</body>
</html>
